aspectframe: Fix use in ui files
authorMatthias Clasen <mclasen@redhat.com>
Wed, 5 Aug 2020 18:04:17 +0000 (14:04 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 5 Aug 2020 18:05:47 +0000 (14:05 -0400)
commit6dfd92b191bf68b18169c9852a7f9fdc9f73e353
tree38de3904b1907ae6514affffbe85d47d78e727f9
parentd7c4f93c76eaeab7d90fef486bc6eed9e3c6580c
aspectframe: Fix use in ui files

GtkAspectFrame code assumes that its child will be in
self->child, but that is only the case if we arrange
for <child> in ui files to end up calling
gtk_aspect_frame_set_child(). Therefore, implement
GtkBuildable.

Fixes: #3020
gtk/gtkaspectframe.c